package com.POJO;

import java.util.Date;

public class Orders {
    public int Id;
    public int total;
    public Date datetime;
    public User user;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "Id=" + Id +
                ", total=" + total +
                ", datetime=" + datetime +
                ", user=" + user +
                '}';
    }
}
